all: test_1 test_empty test_message test_rl_episode_experiment test_sanity_experiment

test_1: test_1_agent test_1_environment test_1_experiment

test_1_agent: test_1_agent.6
	6l -o test_1_agent test_1_agent.6
test_1_agent.6: test_1_agent.go
	6g -o test_1_agent.6 test_1_agent.go

test_1_environment: test_1_environment.6
	6l -o test_1_environment test_1_environment.6
test_1_environment.6: test_1_environment.go
	6g -o test_1_environment.6 test_1_environment.go

test_1_experiment: test_1_experiment.6
	6l -o test_1_experiment test_1_experiment.6
test_1_experiment.6: test_1_experiment.go tester.go
	6g -o test_1_experiment.6 test_1_experiment.go tester.go

test_empty: test_empty_agent test_empty_environment test_empty_experiment

test_empty_agent: test_empty_agent.6
	6l -o test_empty_agent test_empty_agent.6
test_empty_agent.6: test_empty_agent.go
	6g -o test_empty_agent.6 test_empty_agent.go

test_empty_environment: test_empty_environment.6
	6l -o test_empty_environment test_empty_environment.6
test_empty_environment.6: test_empty_environment.go
	6g -o test_empty_environment.6 test_empty_environment.go

test_empty_experiment: test_empty_experiment.6
	6l -o test_empty_experiment test_empty_experiment.6
test_empty_experiment.6: test_empty_experiment.go tester.go
	6g -o test_empty_experiment.6 test_empty_experiment.go tester.go

test_message: test_message_agent test_message_environment test_message_experiment

test_message_agent: test_message_agent.6
	6l -o test_message_agent test_message_agent.6
test_message_agent.6: test_message_agent.go
	6g -o test_message_agent.6 test_message_agent.go

test_message_environment: test_message_environment.6
	6l -o test_message_environment test_message_environment.6
test_message_environment.6: test_message_environment.go
	6g -o test_message_environment.6 test_message_environment.go

test_message_experiment: test_message_experiment.6
	6l -o test_message_experiment test_message_experiment.6
test_message_experiment.6: test_message_experiment.go tester.go
	6g -o test_message_experiment.6 test_message_experiment.go tester.go

test_rl_episode_experiment: test_rl_episode_experiment.6
	6l -o test_rl_episode_experiment test_rl_episode_experiment.6
test_rl_episode_experiment.6: test_rl_episode_experiment.go tester.go
	6g -o test_rl_episode_experiment.6 test_rl_episode_experiment.go tester.go

test_sanity_experiment: test_sanity_experiment.6
	6l -o test_sanity_experiment test_sanity_experiment.6
test_sanity_experiment.6: test_sanity_experiment.go tester.go
	6g -o test_sanity_experiment.6 test_sanity_experiment.go tester.go

clean:
	rm -f test_1_agent test_1_environment test_1_experiment \
	test_empty_agent test_empty_environment test_empty_experiment \
	test_message_agent test_message_environment test_message_experiment \
	test_rl_episode_experiment test_sanity_experiment \
	*.6